<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>就地编辑-EditInPlace</title>
</head>

<body>
    <div id="root"></div>
    <script src="./editor_in_place.js"></script>
    <script>
        // 为了收集签名,给个表单太重了,也不好看
        // 签名,就地编辑
        // 面向对象 封装成一个组件

        new EditInPlace('editor', document.getElementById('root'))

    </script>
</body>

</html>